﻿<%@ Page Title="" Language="C#" MasterPageFile="~/LTR/MlyLtrMaster.Master" AutoEventWireup="true" CodeBehind="AlertChangeWorkOrder.aspx.cs" Inherits="MLY.LTR.AlertChangeWorkOrder" %>
<asp:Content ID="Content1" ContentPlaceHolderID="titleHolder" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:HiddenField ID="alertChangeIdHF" runat="server" />
    <div id="data_transfer_container" class="SC_FloatRight" >
    <div id="data_transfer_inside" class="SC_Align">
    
    <asp:Label ID="ErrorLabel" runat="server" CssClass="SC_SmallText"></asp:Label>
    <asp:FormView ID="InfoFormView" runat="server" DataSourceID="AlertChangeCodeDS" >
    <ItemTemplate>
    
        <asp:Label ID="WOInfoLabel" runat="server" CssClass="SC_BigText" 
        Text='<%# Eval("CustomerWorkOrderNumber").ToString() + ", " + Eval("ContractorWorkOrderNumber").ToString() %>'></asp:Label>
        
        <br /><br />
        <table>
        <tr>
        <td class="SC_AlertNamePadding">
            <asp:Label ID="PlannedDelivaryDatetitleLabel" runat="server" Text="<%$ Dict:ClienteditWoForm.PlannedDelivaryDate %>" CssClass="SC_SmallText"></asp:Label>
        </td>
        <td class="SC_AlertNamePadding">
            <KBMControls:KBMReadOnlyTxtBox runat="server" ID="PlannedDelivaryDate" Text='<%# Eval("PlannedDelivaryDate") %>'></KBMControls:KBMReadOnlyTxtBox>
            <KBMControls:KbmCalendar TargetControlID="PlannedDelivaryDate" runat="server" ID="KbmCalendar1"></KBMControls:KbmCalendar>
        </td>
        </tr>
        <tr>
        <td class="SC_AlertNamePadding">
            <asp:Label ID="TextfieldBTitle" runat="server" Text="<%$ Dict:InventoryGrid.TextFieldBColumn %>" CssClass="SC_SmallText"></asp:Label>
        </td>
        <td class="SC_AlertNamePadding">
            <asp:TextBox ID="TextFieldBBox" runat="server" Width="200" MaxLength="255" Text='<%# Eval("TextFieldB") %>'></asp:TextBox>
        </td>
        </tr>
        </table>
    </ItemTemplate>
    </asp:FormView>
    <br /><br />
    <asp:Button ID="SubmitButton" runat="server" CssClass="SC_Button" Text="Submit changes" OnClick="SubmitChanges" />
    &nbsp;
    <asp:Button ID="CancelButton" runat="server" CssClass="SC_BottonGrey" Text="Cancel" PostBackUrl="~/LTR/default.aspx" />
    </div></div>
    <asp:SqlDataSource ID="AlertChangeCodeDS" runat="server" SelectCommandType="StoredProcedure" 
     ConnectionString="<%$ ConnectionStrings:MLYConnectionString %>" SelectCommand="SCCover_ReadAlertChangeDefiniton"></asp:SqlDataSource> 
</asp:Content>
